package top.shiyiri.community.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @author Aunean
 * @date 2022/3/13 18:41
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("discuss_post")
public class DiscussPost {

    private Integer id;
    private Integer userId;
    private String title;
    private String content;
    private int type;  //0-普通; 1-置顶
    private int status;  //0-正常; 1-精华; 2-拉黑
    private Date createTime;
    private int commentCount;
    private double score;
}
